//
//  RejectUser.m
//  TengyunStation
//
//  Created by Johnny on 15/11/24.
//  Copyright © 2015年 xingrong. All rights reserved.
//

#import "RejectUser.h"
#import "SocketMethod.h"

@implementation RejectUser

- (id)initWithString:(NSString *)string {
    self = [super init];
    if (self) {
        NSArray *array = [string componentsSeparatedByString:@","];
        int i = 0;
        self.telephone = [SocketMethod subArray:array Index:i ++];
        NSString *remark = [SocketMethod subArray:array Index:i ++];
        self.remark = [NSString stringWithFormat:@"备注：%@",remark];
        NSString *time = [SocketMethod subArray:array Index:i ++];
        self.time = [SocketMethod dateStringWithDateString:time];
    }
    return self;
}

@end
